package com.ssy.lingxi.member.merchant.model.vo.basic.response;

import com.ssy.lingxi.common.constant.member.MemberTypeEnum;
import com.ssy.lingxi.common.constant.member.RoleTypeEnum;

import java.io.Serializable;

/**
 * 查询角色信息返回
 * @author 万宁
 * @version 2.0.0
 * @date 2022-03-22
 */
public class RoleQueryVO implements Serializable {
    private static final long serialVersionUID = -8284340259590246004L;

    public RoleQueryVO() {
    }

    public RoleQueryVO(Long roleId, String roleName, Integer roleType, Integer memberType) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.roleType = roleType;
        this.roleTypeName = RoleTypeEnum.getName(roleType);
        this.memberType = memberType;
        this.memberTypeName = MemberTypeEnum.getCodeMessage(memberType);
    }

    /**
     * 角色Id
     */
    private Long roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色类型枚举，1-服务提供者，2-服务消费者
     */
    private Integer roleType;

    /**
     * 角色类型名称
     */
    private String roleTypeName;

    /**
     * 会员类型枚举，1-企业会员，2-企业个人会员，3-渠道会员，4-渠道个人会员
     */
    private Integer memberType;

    /**
     * 会员类型名称
     */
    private String memberTypeName;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public String getRoleTypeName() {
        return roleTypeName;
    }

    public void setRoleTypeName(String roleTypeName) {
        this.roleTypeName = roleTypeName;
    }

    public Integer getMemberType() {
        return memberType;
    }

    public void setMemberType(Integer memberType) {
        this.memberType = memberType;
    }

    public String getMemberTypeName() {
        return memberTypeName;
    }

    public void setMemberTypeName(String memberTypeName) {
        this.memberTypeName = memberTypeName;
    }
}